//package com.js.lib_common.base;
//
//import java.io.IOException;
//
//import okhttp3.Interceptor;
//import okhttp3.Request;
//import okhttp3.Response;
//
///**
// * 对请求头设置
// * Created by wz on 2019/5/17.
// */
//public class HeaderInterceptor implements Interceptor {
//    @Override
//    public Response intercept(Chain chain) throws IOException {
//        Request originalRequest = chain.request();
//        Request.Builder requestBuilder = originalRequest.newBuilder()
//                .header("Accept", "*/*")
//                .header("Content-Type", "application/json")
//                .header("gfw", "8b36e48d53b3134c0d5bbdd6a0069d49")
//                .method(originalRequest.method(), originalRequest.body());
//        Request request = requestBuilder.build();
//        return chain.proceed(request);
//    }
//
//
//}
